package com.rds.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rds.common.annotation.Excel;
import com.rds.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 公用实体类
 *
 * @author rds
 * @date 2021-09-23
 */
public class Sharing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String fromid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**  */
    private Long id;


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    /**  */
    private Integer type;

    public String getFromid() {
        return fromid;
    }

    public void setFromid(String fromid) {
        this.fromid = fromid;
    }

    public String getToid() {
        return toid;
    }

    public void setToid(String toid) {
        this.toid = toid;
    }

    /** 关联项目id */
    private String toid;

    public Long getProjectid() {
        return projectid;
    }

    public void setProjectid(Long projectid) {
        this.projectid = projectid;
    }

    private Long projectid;

    private String pmsid;

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    private Integer grade;

    public String getPmsid() {
        return pmsid;
    }

    public void setPmsid(String pmsid) {
        this.pmsid = pmsid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("toid", getToid())
                .append("ids", getIds())
                .append("fromid", getFromid())
                .append("type", getType())
                .append("id", getId())
                .append("projectid", getProjectid())
                .append("grade", getGrade())
            .toString();
    }
}
